package main;

import td0.Figures.Point;
import td0.Figures.Rectangle;
import td0.Figures.RevolutionCone;
import td0.Figures.Sphere;
import td0.Figures.Square;

public class td0 {

	public static void main(String[] args) {
		//Figure 2D
		Point point = new Point("MonPoint", 2, 1);
		Rectangle rectangle = new Rectangle("Mon Rectangle", 10, 5);
		Square square = new Square("Mon carre", 10);
		
		//Figure 3D
		Sphere sphere = new Sphere("Ma sphere", 2, point);
		RevolutionCone cone = new RevolutionCone("Mon cone", 2, 1, point);
		
		System.out.println(point);
		System.out.println(rectangle);
		System.out.println(square);
		System.out.println(sphere);
		System.out.println(cone);		
		
	}

}
